package g11.dao;

import g11.model.Employee;
import java.util.List;

public interface EmployeeDAO {
	public Integer createEmployee(Employee employee) throws DAOException;

	public void updateEmployee(Employee employee) throws DAOException;

	public void deleteEmployee(Employee employee) throws DAOException;

	public Employee getEmployeeByUsername(String username) throws DAOException;

	public Employee getEmployeeById(int employeeId) throws DAOException;
	
	/*
	 * this method get all same types of employees from Employee table
	 */
	public List<Employee>  getAllEmployee(String employeeType) throws DAOException;
	
}
